<div id="login" class="user-form">
	<?php e($form->create('User', array('action'=>'login')));?>
	
	<fieldset id="login">
		<legend>Log in to <?php e($sitename);?></legend>
		
		<?php e($form->input('username'));?>
		<?php e($form->input('passwd', array('label'=>'Password')));?>
		<?php e($form->input('cookie', array('label'=>'Remeber me for 24 hours','type'=>'checkbox')));?>
		<?php if($enable_captcha) { ?>
			<img src="<?php echo $html->url('/users/captcha'); ?>" />
			<?php e($form->input('captcha_check', array('label'=>'Enter the Captcha code above')));?>
		<?php } ?>
		<?php e($form->submit('Log in'));?>
		
	</fieldset>
	
	<?php e($form->end());?>
</div>